package com.wlkj.action.message;

import com.jfinal.core.Controller;
import com.jfinal.kit.HttpKit;
import com.wlkj.config.UrlKit;

public class MessageAction extends Controller {

	public void setAlias() {
		String param = HttpKit.readData(this.getRequest());
		System.out.println("param :: " + param);
		String result = HttpKit.post(UrlKit.setAlias, param);
		renderJson(result);
	}

	public void setTag() {
		String param = HttpKit.readData(this.getRequest());
		String result = HttpKit.post(UrlKit.setTag, param);
		renderJson(result);
	}

	public void setMessageStatus() {
		String param = HttpKit.readData(this.getRequest());
		String result = HttpKit.post(UrlKit.setMessageStatus, param);
		renderJson(result);
	}

}
